/* ================ common css ================ */
.no-padding {
	padding: 0px !important;	
}
.top-margin-20 {
  margin-top: 20px;
}
.vertical-margin-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.line-height-30 {
  line-height: 30px;
}
.left-margin-5 {
  margin-left: 5px;
}
.hover-no-text-decoration:hover,
.hover-no-text-decoration:focus {
  text-decoration: none;
}
.green-color {
  color: green;
}
.red-color {
  color: red;
}
.font-warning {
  color: #F00;
  font-weight: bold;
}
.font-bold {
  font-weight: bold;
}
.text-center {
  text-align: center;
}

/* ================ enhanced btn class ================ */
.btn-shadow {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.btn-shadow:active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-shadow-default {
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
  background-repeat: repeat-x;
  border-color: #e0e0e0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
}

.btn-shadow-default:active,
.btn-shadow-default.active {
  background-image: none;
  background-color: #e6e6e6;
  border-color: #e0e0e0;
}

.btn-shadow-success {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
  background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
  background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
  background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
  background-repeat: repeat-x;
  border-color: #419641;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
}

.btn-shadow-success:active,
.btn-shadow-success.active {
  background-image: none;
  background-color: #449d44;
  border-color: #419641;
}

.demo2do-btn {
	width: 140px;
}

/* ================ table css ================ */
.demo2do-table {
	margin-top: 15px;
	margin-bottom: 15px;
	width: 100%;
}

.demo2do-table thead > tr > td,
.demo2do-table tbody > tr > td,
.demo2do-table tfoot > tr > td {
  border-top: 0px;
  border-bottom: 1px #CCC solid;
  text-align: center;
  vertical-align: middle;
}

.demo2do-table tbody > tr > td > p {
	margin: 5px auto;
}

.demo2do-table caption + thead tr:first-child th,
.demo2do-table colgroup + thead tr:first-child th,
.demo2do-table thead:first-child tr:first-child th {
  border-top: 1px #CCC solid;
}

.demo2do-table caption + thead tr:first-child th:first-child,
.demo2do-table colgroup + thead tr:first-child th:first-child,
.demo2do-table thead:first-child tr:first-child th:first-child {
  border-left: 1px #CCC solid;
}

.demo2do-table caption + thead tr:first-child th:last-child,
.demo2do-table colgroup + thead tr:first-child th:last-child,
.demo2do-table thead:first-child tr:first-child th:last-child {
  border-right: 1px #CCC solid;
}

.demo2do-table thead > tr > th {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
  background-repeat: repeat-y;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  text-align: center;
  border-top: 1px #AAA solid;
  border-bottom: 1px #AAA solid;
  border-left: 0px;
  padding: 10px 5px;
  box-shadow: 0 1px 0 #FFFFFF inset;
}

.demo2do-table tbody > tr > td.fix-title {
  background-color: #E1E1E1;
  border-right: 1px #CCC solid;
}

/* ================ form css ================ */

.form-horizontal .demo2do-form-group {
  margin-left: 0px;
  margin-right: 0px; 
  margin-bottom: 0px; 
  padding: 15px 0px; 
  border-bottom: 2px solid #DFDFDF;
}

.form-horizontal .no-bottom-border {
  border-bottom: 0px;
}

.form-horizontal .vertical-padding-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-horizontal .demo2do-form-group:hover {
  background: #DDD;
}

.form-horizontal .no-hover:hover {
  background: #EFEFEF;
}

.form-horizontal .demo2do-form-group > .demo2do-form-message {
  color: #EFEFEF; 
  padding-top: 7px;
}

.form-horizontal .demo2do-form-group:hover > .demo2do-form-message {
  color: #AAA;  
}

.form-horizontal .demo2do-form-group .upload-file-preview {
  margin-bottom: 10px;
  height: 120px; 
  width: 120px; 
  line-height: 120px; 
  background-color: #E6E6E6; 
  text-align: center; 
  border: 0px;  
}

.form-horizontal .demo2do-form-group .upload-file-preview > b {
  line-height: 120px; 
  font-size: 20px; 
  color: #C0C0C0;
}

.form-horizontal .demo2do-form-group .triple-wrapper {
  float: left;
  width: 30%;
}

.form-horizontal .legend {
  width: 95%;
  text-indent: 25px;
  border-bottom: 1px solid #d5d5d5;
  line-height: 0.1em;
  margin: 30px auto 20px;
  font-size: 17px;
  font-weight: bold;
  color: #76ACD6;
}

.form-horizontal .legend > span {
  background: #efefef;
  padding: 0 10px;
}

/* ================  navigation  ================ */
.demo2do-green-navbar {
	background: #67AD03;
}

.demo2do-green-nav {
	font-size: 0px; /* fix the problem of inline-block layout margin bug */
}

.demo2do-green-nav > li {
	display: inline-block;
}

.demo2do-green-nav > li > a {
	font-size: 14px;
	color: #FFF;
	text-align: center;
	min-width: 150px;
}

.demo2do-green-nav > li > a:hover,
.demo2do-green-nav > li > a:focus,
.demo2do-green-nav li.open > a,
.demo2do-green-nav li.open > a:hover,
.demo2do-green-nav li.open > a:focus {
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#67AD03), to(#37712B));
  	background-image: -webkit-linear-gradient(top, #67AD03, 0%, #37712B, 100%);
  	background-image: -moz-linear-gradient(top, #67AD03 0%, #37712B 100%);
  	background-image: linear-gradient(to bottom, #67AD03 0%, #37712B 100%);
  	background-repeat: repeat-x;
  	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff67AD03', endColorstr='#ff37712B', GradientType=0);
	font-weight: bold;
}

/* ================ submenu ================ */
.demo2do-menu {
	margin-bottom: 50px; /* Make sure there would be some margin at the bottom */
}

.demo2do-menu > li > a {
	border-radius: 0px;
	margin-top: 5px;
	padding-left: 25px;
}

.demo2do-menu > li.menu-label {
	border-bottom: 1px #FFF solid;
}

.demo2do-menu > li.menu-label > div {
	padding: 10px 15px;
	color: #777;
	font-weight: bold;
	border-bottom: 1px #DFDFDF solid;
}

.demo2do-menu > li.submenu > a {
	padding-left: 25px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.demo2do-menu > li.submenu > a:hover {
	font-weight: bold;
	background: #CCC;
}

.demo2do-menu > li.active > a, 
.demo2do-menu > li.active > a:hover, 
.demo2do-menu > li.active > a:focus {
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#67AD03), to(#37712B));
  	background-image: -webkit-linear-gradient(top, #67AD03, 0%, #37712B, 100%);
  	background-image: -moz-linear-gradient(top, #67AD03 0%, #37712B 100%);
  	background-image: linear-gradient(to bottom, #67AD03 0%, #37712B 100%);
  	background-repeat: repeat-x;
  	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff67AD03', endColorstr='#ff37712B', GradientType=0);
	font-weight: bold;
}

/* ================  modal dialog  ================ */

.demo2do-modal-dialog {
	padding-top: 20px;
}

.demo2do-modal-dialog .modal-header {
	padding-bottom: 0px;
	padding-top: 10px;
	border-bottom: 3px solid #CCC;
}

.demo2do-modal-dialog .modal-header .close {
	margin-top: 5px;
}

.demo2do-modal-dialog .modal-content {
	background: #EFEFEF;
	border: 1px solid #D5D5D5;
  	border: 1px solid rgba(0, 0, 0, 0.2);
  	border-radius: 6px;
  	outline: none;
  	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
          	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  	background-clip: padding-box;
}

.demo2do-modal-dialog .modal-body {
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.demo2do-modal-dialog .modal-body .confirm {
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: center;
	font-size: 17px;
	line-height: 4;
}

.demo2do-modal-dialog .modal-footer {
	border-top: 2px solid #CCC;
	padding-top: 14px;
	padding-bottom: 15px;
	text-align: center;
	margin-top: 10px;
}

.demo2do-modal-dialog .demo2do-form-group {
	border-bottom: 0px;
}
